local skill = fk.CreateSkill{
    name = "lingling__roushenshoulie",
}
Fk:loadTranslationTable{
    ["lingling__roushenshoulie"] = "肉神狩猎",
    [":lingling__roushenshoulie"] = "出牌阶段限一次，你可以弃置两张牌，则直到你下回合开始，每当你受到伤害后，你对伤害来源造成1点伤害。",
    ["@[desc]lingling__shoulie"] = "狩猎中",
    [":lingling__shoulie"] = "受到伤害后，对伤害来源造成1点伤害。",
}
skill:addEffect("active",{
    anim_type = "special",
    max_phase_use_time = 1,
    can_use = function (self, player)
        return self:withinTimesLimit(player,Player.HistoryPhase)
    end,
    card_num = 2,
    card_filter = function (self, player, to_select, selected, selected_targets)
        return not player:prohibitDiscard(to_select)
    end,
    target_num = 0,
    target_filter = Util.FalseFunc,
    on_use = function (self, room, effect)
        local player = effect.from
        room:throwCard(effect.cards,skill.name,player)
        room:setPlayerMark(player,"@[desc]lingling__roushenshoulie",1)
    end,
})
skill:addEffect(fk.TurnStart,{
    can_refresh = function (self, event, target, player, data)
        return player == target and player:getMark("@[desc]lingling__roushenshoulie") ~= 0
    end,
    on_refresh = function (self, event, target, player, data)
        player.room:setPlayerMark(player,"@[desc]lingling__roushenshoulie",0)
    end,
})
skill:addEffect(fk.Damaged,{
    is_delay_effect = true,
    anim_type = "offensive",
    can_trigger = function (self, event, target, player, data)
        return target == player and player:getMark("@[desc]lingling__roushenshoulie") ~= 0 and data and data.from and data.from:isAlive()
    end,
    on_cost = Util.TrueFunc,
    on_use = function (self, event, target, player, data)
        player.room:damage{
            to = data.from,
            from = player,
            damage = 1,
            skillName = skill.name,
        }
    end,
})
return skill